package com.beer.beerfriendfinder;

public class Message {
	String message;
	int idContact;
	boolean isStatusMessage;
	String date_time;
	boolean isSendSuccess;
	
	
	public Message(String mes,int id){
		super();
		message=mes;
		idContact=id;
		isStatusMessage=false;
		this.date_time="";
		isSendSuccess=true;
	}
	
	public Message(String mes,boolean isStatus){
		super();
		message=mes;
		isStatusMessage=isStatus;
		idContact=-1;
		this.date_time="";
		isSendSuccess=true;
	}
	
	public Message(String mes,int id,String date_time){
		super();
		message=mes;
		idContact=id;
		isStatusMessage=false;
		this.date_time=date_time;
		isSendSuccess=true;
	}
	
	public Message(String mes,boolean isStatus,String date_time){
		super();
		message=mes;
		idContact=-1;
		isStatusMessage=isStatus;
		this.date_time=date_time;
		isSendSuccess=true;
	}
	
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getIdContact() {
		return idContact;
	}

	public void setIdContact(int idContact) {
		this.idContact = idContact;
	}

	public boolean isStatusMessage() {
		return isStatusMessage;
	}

	public void setStatusMessage(boolean isStatusMessage) {
		this.isStatusMessage = isStatusMessage;
	}

	public String getDate_time() {
		return date_time;
	}

	public void setDate_time(String date_time) {
		this.date_time = date_time;
	}

	
	public boolean isSendSuccess() {
		return isSendSuccess;
	}


	public void setSendSuccess(boolean isSendSuccess) {
		this.isSendSuccess = isSendSuccess;
	}
	
	
	
}
